#ifndef GLOBAL_CONFIG_H
#define GLOBAL_CONFIG_H


//#define SERVER_IP       "192.168.0.103"
#define SERVER_IP       "192.168.1.9"
#define SERVER_PORT     8888


#define PLAT_WIN
#ifdef PLAT_WIN //Windows平台
    #define HAAR_CASCADE_FILEPATH   "E:\\Qt_Prjs\\with_ui_fd\\Src\\haarcascade_frontalface_alt.xml"
    #define CONNECT_REPEAT_CYCLE    5000 //ms
    #define CAP_READ_CYCLE          100

    #define CAP_PATH                0
#else           //Linux开发板平台
    #define HAAR_CASCADE_FILEPATH   "./haarcascade_frontalface_alt.xml"
    #define CONNECT_REPEAT_CYCLE    5000 //ms
    #define CAP_READ_CYCLE          100

    #define CAP_PATH                "/dev/video0"   //开发板的摄像头路径
#endif
#endif // GLOBAL_CONFIG_H
